package cn.coisini.model.common.constants;

/**
 * @author xiangshaw
 * Description: Security常量
 */
public interface SecurityConstants {
    /**
     * token前缀
     */
    String TOKEN_PREFIX = "Coisini ";

    /**
     * 登录token key
     */
    String LOGIN_TOKEN = "login:token:";

    /**
     * 黑名单token
     */
    String BLACKLIST_TOKEN = "blacklist:token:";

    /**
     * 验证码前缀
     */
    String CAPTCHA_PREFIX = "captcha_code:";

    /**
     * 验证码有效期（分钟）
     */
    Integer CAPTCHA_EXPIRATION = 3;
}
